﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ElementumForever.Editer
{
    public partial class PropertyForm : Form
    {
        MainForm mainForm;
        public PropertyForm(MainForm mainForm)
        {
            this.mainForm = mainForm;
            InitializeComponent();
            this.myProperty.SelectedObject = null;
        }

        public void SetPropertyTarget(object property)
        {
            myProperty.SelectedObject = property;
        }

        public void RefreshPropertyView() {
            myProperty.Refresh();
        }

    }
}
